<?php
class baseModel extends model{

	//提示
    public function msg($message,$status=1,$ajax=false) {
    	if($status){
    		$status='y';
    	}else{
    		$status='n';
    	}
        @header("Content-type:text/html");
        echo json_encode(array('status' => $status, 'info' => $message));
        exit; 
    }

}